home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / answers / comp / minix-faq < prev    next >
Text File  |  1994-04-04  |  17KB  |  352 lines

  1. Newsgroups: comp.answers,comp.os.minix,news.answers
  2. Path: bloom-beacon.mit.edu!uhog.mit.edu!wupost!cs.utexas.edu!uunet!timbuk.cray.com!hemlock.cray.com!overby
  3. From: overby@cray.com (Glen Overby)
  4. Subject: MINIX Frequently Asked Questions (Last Changed: 30 June 1993)
  5. Message-ID: <minix-faq_765203464@cray.com>
  6. Followup-To: comp.os.minix
  7. Summary: Commonly Asked Questions -- With answers!
  8. Originator: overby@fig15
  9. Keywords: info answers
  10. Lines: 332
  11. Supersedes: <minix-faq_763734664@cray.com>
  12. Nntp-Posting-Host: fig15
  13. Reply-To: overby@cray.com (Glen Overby)
  14. Organization: Cray Research, Inc.  Eagan MN USA
  15. Date: 1 Apr 94 06:31:12 CST
  16. Approved: news-answers-request@mit.edu
  17. Expires: 15 Apr 94 00:31:04 GMT
  18. Xref: bloom-beacon.mit.edu comp.answers:4475 comp.os.minix:3087 news.answers:17347
  19.  
  20. Archive-name: minix-faq
  21. Version: $Id: minix-faq,v 1.12 1993/12/01 20:17:47 overby Exp overby $
  22.  
  23. If you have questions AND ANSWERS to contribute to this FAQ sheet,
  24. please send them to me, overby@plains.nodak.edu.  
  25.  
  26. I'm looking for contributions to this FAQ, not questions from people who 
  27. expect me to give them answers.
  28.  
  29.   [This line changed since my last posting, so LISTSERV doesn't have
  30.    a right to bittch at me about duplicate postings]
  31.  
  32.                  Frequently Asked Questions on Comp.Os.MINIX
  33.  
  34. This Frequently Asked Questions (FAQ) list is intended to accompany the
  35. Minix Information Sheet.  Some of the information here is duplicated from
  36. the Information Sheet when deemed appropriate.
  37.  
  38. In creating this, I have attempted to recall the Great Questions (and their
  39. answers) as well as the Great Discussions from the net.  Many thanks to
  40. everyone who has contributed to this document.
  41.  
  42. Several things to remember when you ask questions on the net:
  43.  
  44.       Supply enough information for people to actually help you.  Things
  45.       like what Minix version, your hardware configuration, and so-on are
  46.       almost always necessary to not have to take shots in the dark.  If you
  47.       are reluctant to tell any or all of this, don't expect a good answer.
  48.  
  49.       There are some questions for which there is no answer, because nobody
  50.       has encountered the problem previously or there is no good solution to
  51.       the problem.
  52.  
  53. 1.  WHERE CAN I GET MINIX?
  54.      Minix is sold by Prentice-Hall, Inc. and  their  authorized  distribu-
  55.      tors.  They hold the Copyright on Minix, and sell it for profit (or at
  56.      least we assume they make a profit on it).
  57.  
  58.                      IT IS NOT AVAILABLE FOR ANONYMOUS FTP!
  59.  
  60.      However, demonstration versions for the IBM PC, Atari ST, and Amiga 
  61.      exist and are available via FTP from ftp.cs.vu.nl, plains.nodak.edu 
  62.      and other archive sites. It is also available from Prentice-Hall for
  63.      a small fee (see the Minix information sheet for more details & ISBN
  64.      number).  The Amiga version is available onf "Fish Disk" number 525,
  65.      available from large Amiga FTP sites {don't ask me which ones and
  66.      where -- Glen}, users groups and some retailers.  While far from a 
  67.      working system, the demo is sufficient to get a "feeling" of what 
  68.      Minix does.
  69.  
  70. 2.  WHAT VERSIONS OF MINIX EXIST?  
  71.      The most current version is 1.5.10, known simply as "1.5" if you buy it
  72.      from Prentice-Hall.  Upgrade "diffs" have been posted to the net over
  73.      the past several months; consult an archive site listed in the
  74.      Information Sheet to find that.  Prentice-Hall has been shipping ALL
  75.      versions of Minix 1.5 for several months.
  76.  
  77.      !!!!! PRENTICE HALL IS SHIPPING 1.5.10, BUT THEY CALL IT 1.5 !!!!!
  78.  
  79. 3.  BUT I'VE HEARD OF THIS A NEWER VERSION, 1.6.16.
  80.      Yes, that sort of exists; it is a mid-development beta release for the
  81.      PC (only) released to beta-testers.
  82.  
  83. 4.  HOW DOES PDP 11/44 MEMORY MANAGEMENT WORK?
  84.      This was the first big off-the-topic discussion on the group, and it's
  85.      still  not  an  appropriate topic, so if you are still intrigued about
  86.      pdp-11 memory management, consult the DEC processor handbooks, or some
  87.      harmless newsgroup like alt.dev.null.
  88.  
  89. 5.  PLEASE SUBSCRIBE ME TO THE MAILING LIST
  90.      why ask 26,000 people to do that, when there is one person who can  do
  91.      it, and you can ask a computer to do it for you.
  92.  
  93.      If you are on bitnet or arpanet, you can  get  this  newsgroup  via  a
  94.      mailing  list, info-minix.  To subscribe to the list, send a message to
  95.      listserv@vm1.nodak.edu (internet) or listserv@ndsuvm1 (bitnet) saying:
  96.  
  97.                signup minix-l your_full_name
  98.  
  99.      If you have  trouble,  contact  the  list  maintainer  at  info-minix-
  100.      request@udel.edu.
  101.  
  102. 6.  PLEASE UNSUBSCRIBE ME FROM THE MAILING LIST
  103.      Use the same procedure as for subscribing, but use  "unsubscribe"  in-
  104.      stead of "signup".
  105.  
  106. 7.  WHAT IS THE ROOT PASSWORD?
  107.      It's in the book, on pages 373 (login "ast") and 380  (login  "root").
  108.      If you didn't buy the book, that's only the start of your problems.
  109.  
  110. 8.  MINIX DOESN'T WORK WITH MY HARD DISK.
  111.      There are many potential sources of this.  Several are:
  112.  
  113.      You are running an RLL controller.  You must change "NR_SECTORS" in the
  114.      configuration  file,  <minix/config.h>  from 17 (standard for MFM con-
  115.      trollers) to 25 (Adaptec controllers) or 26 (Western Digital and  oth-
  116.      ers).
  117.  
  118. 9.  IS THERE A SCSI DRIVER FOR MINIX?
  119.      The following info applies only to PCs.
  120.  
  121.      All SCSI controllers work differently, from the primitive Seagate ST01,
  122.      to the smarter Always IN-2000, and Adaptec with it's own on-board CPU.
  123.  
  124.      Magnus Doell has released his driver for the ST-02, and James da
  125.      Silva has written one for the Adaptec 154X.  They can be found
  126.      on plains.nodak.edu in, respectively,
  127.         pub/Minix/pc/scsi07a.tar.Z
  128.         pub/Minix/usenet/1991.Jul/ahascsi1.0.shar
  129.  
  130.      The ROM wini driver should also run most SCSI controllers but you
  131.      lose protected mode capability.
  132.  
  133.      Amiga Minix has support for Commodore SCSI hard disks in the v1.5.10.1
  134.      update.
  135.  
  136. 9A.  WHAT TAPE DRIVES WORK WITH MINIX?
  137.      Minix comes from Prentice Hall with no support for tape drives.
  138.  
  139.      For the PC, James da Silva has written a SCSI driver for Adaptec
  140.      154X type controllers (see section on SCSI support).  This driver
  141.      provides support for SCSI tape drives; there are reports of
  142.      people successfully using it with Archive Viper tape drives (NB:
  143.      not all Archive Viper drives have a SCSI interface!)
  144.  
  145. 10.  THE SINGLE THREADED FILESYSTEM IS A REAL BOTTLENCK.
  146.      True.  It's only noticeable when you  are  running  massive  background
  147.      processes, or putting multiple users on your computer.
  148.  
  149.      This "problem" has been recently "fixed" and the "solution" posted to
  150.      the net.  See your nearby bit-bucket (archive site) for it!
  151.  
  152.      You've got the source.  Fix it.
  153.  
  154. 11.  IS THERE A 386 MINIX?
  155.      Minix 1.5.10/PC runs on 80286 and 80386 systems using 80286  protected
  156.      mode  (so  all  your memory is used for programs, rather than as bank-
  157.      switched memory "windows" or a big RAM disk).  There is an  experimen-
  158.      tal   32-bit   kernel   from   Bruce  Evans.   It  is  available  from
  159.  
  160.      sirius.ucs.adelaide.edu.au: pub/minix/local
  161.      plains.nodak.edu:pub/Minix/oz
  162.  
  163. 12.  I HAVE AN OLD VERSION OF MINIX. HOW CAN I UPGRADE?
  164.      You need to get an upgrade kit from one of the archive sites; see  the
  165.      Minix  Information  Sheet  for  a  (supposedly) complete list of sites
  166.      which archive Minix-related bits.
  167.  
  168.      Also, read the Upgrading Tutorial -- it was meant to help.
  169.  
  170. 13.  WHAT SHELLS EXIST FOR MINIX?
  171.      sh:     Your typical Bourne shell. Comes with distribution Minix
  172.      clam:   Tcsh-like shell, runs under Minix & real Unix's. Available
  173.              from ftp sites sirius, ccadfa, plains & others
  174.      ksh:    Korn shell, ported to Minix. Diffs for Minix on plains.
  175.      marvin: A kid's shell. Posted months ago in comp.os.minix.
  176.      emacs:  Does this count as a shell? Works only under 68K-Minix's
  177.              and perhaps 386-Minix.
  178.      tcsh:   The binaries for 68K-Minix and 386-Minix tcsh are available
  179.              from ftp.uni-koeln.de.  The v6.02 tcsh source distribution
  180.       
  181.  
  182. 14.  IS THERE X-WINDOWS FOR MINIX?
  183.      No, there is not.  It would be difficult if not impossible  (that  was
  184.      meant as a challenge!) to put X on Minix because X is huge.  Unless you
  185.      have many megabytes of memory, it would be impossible to run X clients
  186.      and  servers  on  one  machine.  It will also certainly require 32-bit
  187.      mode operation.
  188.  
  189.      Don't be fooled by the (only) graphic user interface for MinixPC,
  190.      Mini-X. Contrary to what its name seems to imply, this interface has
  191.      nothing to do with a X-Windows implementation under Minix.
  192.  
  193. 15.  WHY CAN'T MY PC BOOT PC-MINIX FROM 1.44MB FLOPPY DISKS ?
  194.      There's a couple of reasons for this.  First, straight out of the box,
  195.      MINIX  doesn't  plan on dealing with 1.44Mb floppy disks.  The entries
  196.      in /dev should be set up specifically for your machine,  so  pick  out
  197.      the correct entries here:
  198.           mknod /dev/fd0-dsdd5in b 2  4 360               # Drive A, 360K 5.25"
  199.           mknod /dev/fd0-dshd5in b 2  8 1200              # Drive A, 1.2M 5.25"
  200.           mknod /dev/fd0-dsdd3in b 2 16 720               # Drive A, 720K 3.5"
  201.           mknod /dev/fd0-dshd3in b 2 28 1440              # Drive A, 1.44M 3.5"
  202.                      ^^^             ^^
  203.      Change 'fd0' to 'fd1' and add 1 to the minor device number  to  create
  204.      an entry for floppy drive B.  It may be a good idea to link the gener-
  205.      ic  floppy  disk  entries  (/dev/fd0  and  /dev/fd1)  to  the   proper
  206.      /dev/fd0-ds{whatever}  entries for your machine, so that programs like
  207.      dosread continue to work.
  208.  
  209.      All possible formats are:
  210.         mknod /dev/fd0  b 2  0    0       # Drive A, automatic
  211.         mknod /dev/pc0  b 2  4  360       # Drive A, 360K 5.25"
  212.         mknod /dev/at0  b 2  8 1200       # Drive A, 1.2M 5.25"
  213.         mknod /dev/qd0  b 2 12  360       # Drive A, 360K in a 720K 5.25"
  214.         mknod /dev/ps0  b 2 16  720       # Drive A, 720K 3.5" and 5.25"
  215.         mknod /dev/pat0 b 2 20  360       # Drive A, 360K in a 1.2M 5.25"
  216.         mknod /dev/qh0  b 2 24  720       # Drive A, 720K in a 1.2M 5.25"
  217.         mknod /dev/PS0  b 2 28 1440       # Drive A, 1.44M 3.5"
  218.  
  219.      Second reason your PC won't boot from 1.44Mb floppy disks, even though
  220.      you've  fixed  up  the  floppy  disk  device entries: tools/bootblok.s
  221.      doesn't know about 1.44M disks, so it blindly loads the boot image in-
  222.      correctly  and  then tries to execute it.  Get Guy Helmer's bootblok.s
  223.      from an archive site, or get shoelace.
  224.  
  225. 16.  WHAT'S WRONG WITH 'ps'?
  226.      You   need   to   have   a   copy   of   the   compiled   kernel    in
  227.      /usr/src/kernel/kernel, mm in /usr/src/mm/mm, and fs in /usr/src/fs/fs
  228.      for ps to read the namelist out of.  The PC Minix compiler must have the
  229.      "-s" flag to build the symbol table.  Note that this MUST be the SAME
  230.      kernel that is booted.
  231.  
  232. 17.  HOW IS THE FORK(2) SYSTEM  CALL  IMPLEMENTED  ON  THE  68K  PROCESSORS
  233.      WITHOUT A MEMORY MANAGEMENT UNIT?
  234.      This is done by shadowing. This is copying the memory around  as  long
  235.      as  both  child  and parent processes do exist.  Although this seems very
  236.      expensive, it is not because most processes exec(2) almost immediately
  237.      after  the fork(). But most terminal emulators who fork() en keep run-
  238.      ning loose.
  239.  
  240. 18.  WHY IS KERMIT SO ABSURDLY SLOW UNDER MINIX-68k?
  241.      See the above question.  Kermit forks so that one process  listens  to
  242.      the  serial  port  and  writes  to  the  screen, and the other process
  243.      listens to the keyboard and writes to  the  serial  port.   Since  the
  244.      second  process  never  "exec's",  the  two  processes are continually
  245.      swapped in and out of one memory slot.
  246.  
  247. 19.  IS THERE ALSO A 64K+64K LIMIT FOR MINIX 68K & MINIX 386?
  248.      For minix 68k, there isn't. For minix 386 there isn't provided you use
  249.      the proper compiler (This means no ACK)
  250.  
  251. 20.  DOES MINIX HAVE BERKELY JOB CONTROL?
  252.      No. Nor does it have its associated signals like SIGSTOP, SIGCONT etc.
  253.  
  254. 21.  DOES MINIX SUPPORT TCP/IP AND NFS
  255.      No. TCP/IP does exist as an experimental package.  NFS is a dream  for
  256.      many ;-)
  257.  
  258. 22.  WHY CAN'T I RECOMPILE KERMIT OR ELLE ON PC-MINIX 1.5?
  259.      You can't assemble Kermit or elle on a PC using Minix 1.5 or  earlier;
  260.      asld  reports an "out of space" error, which means it ran out of space
  261.      in the output object file.  That is why the  binaries  are  (certainly
  262.      were) on the P-H distribution.  Those binaries were compiled by a dif-
  263.      ferent, more efficient compiler.
  264.  
  265. 23.  WHY AREN'T THE MANUALS ONLINE? WHERE CAN I GET THE MANUALS?
  266.      The  online   manuals   are   available   via   anonymous   ftp   from
  267.      ccadfa.cc.adfa.oz.au  [131.236.1.2] in the file pub/minix/mantar.Z. To
  268.      extract the manuals, ftp the file binary-wise, uncompress it  and  ex-
  269.      tract  using  tar when you are in your /usr/man directory. Each manual
  270.      is in a separate file, and to use the distribution 1.5 man(1) you will
  271.      need  to  read  the  source  to man(1) to see how to create the single
  272.      manual file.
  273.  
  274.      Alternatively, the source to a more Unix-like man(1) is  available  on
  275.      ccadfa  in  the  file  pub/minix/mansrc.Z.  To  extract  the code, ftp
  276.      binary-wise, uncompress and unshar. Before compiling the code,  modify
  277.      the header file to reflect your system setup. Compile the code. If you
  278.      are using less(1) as a pager,  you  will  need  to  modify  main.c  in
  279.      nroff(1); instructions are included in mansrc.Z
  280.  
  281. 24.  WHAT IS THE DIFFERENCE BETWEEN THE 80386 AND THE 386sx?
  282.      There is no difference between 386sx/386dx except for the bus  (24-bit
  283.      addresses and 16-bit data).
  284.  
  285. 25.  DOES MINIX SUPPORT MAIL/NEWS/UUCP?
  286.      As shipped from Prentice Hall, Minix 1.5 include only local Email, and
  287.      no Uucp nor Usenet News support. Various additional packages from the
  288.      net exist:
  289.      There are two UUCP implementations, by Fred van Kempen and by Will Rose.
  290.      Fred wrote an Email interface, UMail/WMail and a news software, WNews.
  291.      A BNews implementation and the Tass newsreader from alt.sources also
  292.      exist under Minix. All these packages are available via anonymous FTP
  293.      from archive sites.
  294.  
  295. 26.  WHY IS THE DIRECTORY ON PLAINS CALLED "oz" INSTEAD OF 386
  296.  
  297.      Plains maintains several "shadows" of other sites.  To allow easy
  298.      automatic updating of packages from the remote sites, we place
  299.      everything from that site in a directory reminiscent of that site's
  300.      name.  To absorb the remote site's files into the local directory
  301.      structure would frustrate this, and it probably wouldn't happen.
  302.  
  303. 27. WHERE CAN I GET THE NEW ANSI C COMPILER?
  304.     (from Andy Tanenbaum's posting <13286@star.cs.vu.nl> 11 Mar 92)
  305.  
  306.     There are three compilers available:
  307.  
  308.       - ANSI C, conforming to ANS X3.159-1989
  309.  
  310.       - Modula-2, conforming to
  311.           "Report on The Programming Language Modula-2", in "Programming in
  312.       Modula-2, 3rd ed." by Niklaus Wirth, Springer-verlag, 1983
  313.  
  314.       - Pascal confrming to level 1 of BSI standard BS 6192: 1982 (ISO 7185), 
  315.           with a few small exceptions
  316.  
  317.     Also, a Modula-2 makefile generator and some utilities for handling
  318.     relocatable object files are included (aal, nm, size, strip, etc).
  319.     Complete libraries for ANSI C, Pascal, and Modula 2 are provided. 
  320.  
  321.     This package is available in 4 different versions:
  322.  
  323.       - 5.25" DS/DD floppies for 8088/286/386 (4 360K floppies);
  324.       - 5.25" DS/HD floppies for 8088/286/386 (1 1.2M floppy);
  325.       - 3.5"  DS/DD floppies for 8088/286/386 (2 720K floppies);
  326.       - 3.5"  DS/DD floppies for Commodore Amiga or Atari ST (2 720K floppies).
  327.     
  328.     Many problems with the old Minix C compiler have been resolved:
  329.       - All versions have separate as and ld programs.  Asld is gone.
  330.       - Floating point is now supported
  331.       - Library is greatly improved and is ANSI conformant
  332.       - A program aal is provided to manage libraries (ranlib-like)
  333.     
  334.     The package is available from two companies:
  335.     
  336.     Transmediair Products & Support B.V.    Unipress Software
  337.     Box 297                    2025 Lincoln Highway
  338. , NJ 08817
  339.     The Netherlands                U.S.A.
  340.     Tel: +31 30 281820                Tel: +1 908 287 2100
  341.     FAX: +31 30 292294                FAX: +1 908 287 4929
  342.                             Email: msk@unipress.com
  343.     
  344.     Transmediair charges US $200,- for the 4 floppy PC version, US $150,-
  345.     for the other versions. Unipress charges US $199,- for all versions.
  346.  
  347. 28. BUT THERE *IS* AN AMIGA DEMO DISK!
  348.  
  349.     It can be found on Fish disk 525. Fish disks are available at ftp 
  350.     sites carrying Amiga stuff.  They should also be available from various 
  351.     Amiga groups and retailers.
  352.